Implemented custom button and implemented card image flipping version