Fixed a bug in config.py where ctype(None) would try to cast None, added setSuccessLayout to activities